<?php
$id = $epg['id'];
$data = preg_replace('/\n| |\r/','',file_get_contents('https://www.tlc-tw.com/'.$id.'.php'));
preg_match_all('/<divclass="time"><span>(.*?)</',$data,$time);
preg_match_all('/<divclass="show"><p>(.*?)<\/p><span>(.*?)</',$data,$name);
for($i = 0; $i <= count($time[1]) - 1; $i++) {
    echo '<li><span>'.$time[1][$i].'&nbsp&nbsp&nbsp&nbsp'.$name[1][$i].'：'.$name[2][$i].'</span></li>';
};